package com.shunhao.model

/**
 * ClassName:EventCenter
 * Package:com.shunhao.model
 * Description: eventBus传递参数实体对象
 * Com:shunHao.com
 * @date:2020/10/13 11:39
 * @author:827746955@qq.com
 */
data class EventCenter<T>(val eventCode: Int = -1, val data: T?) {

    // 单参构造函数
    constructor(eventCode: Int) : this(eventCode, null)
}